package cn.hznc.repository;

import cn.hznc.domain.entity.EquipmentShankModelEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author：Administrator
 * @Date：2023/7/17 15:21
 */
public interface EquipmentGroupRepository {
    List<String> selectGroupType();

    List<Integer> selectByGroupType(@Param("groupType") String groupType);

    List<Map<String, Object>> selectEquipMentByGroupType(@Param("groupType") String groupType);

    List<Integer> selectEquipmentIds();

    String selectGroupTypeByEquipmentId(@Param("equipmentId") Integer equipmentId);

    EquipmentShankModelEntity selectShankModel(@Param("equipmentId") Integer equipmentId);
}
